package org.wang.generalcode.modules.exam.converter;

import org.mapstruct.Mapper;
import org.wang.generalcode.modules.exam.pojo.entity.GradeInfoEntity;
import org.wang.generalcode.modules.exam.pojo.vo.GradeInfoVO;

/**
 * 年级信息表对象转换器
 *
 * @author wz
 * @since 2024-11-20
 */
@Mapper(componentModel = "spring")
public interface GradeInfoConverter {

    GradeInfoVO toForm(GradeInfoEntity entity);

    GradeInfoEntity toEntity(GradeInfoVO formData);
}